package com.jt.controller;

import com.jt.vo.EasyUITree;
import jdk.nashorn.internal.parser.Scanner;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
	/*rest风格
	* 查询业务逻辑:GET
	* 提交操作:POST
	* 更新操作: PUT
	* 删除操作: DELETE
	* */
	@RequestMapping("/page/{moduleName}")
	public String module(@PathVariable String moduleName) {
		return moduleName;
	}

}
